<?php
function smarty_function_javascript($param, Smarty_Internal_Template $template) {
	return sprintf('<script type="text/javascript" src="%s?%s"></script>', $param['src'], filemtime(WEBroot.$param['href']));
}
